﻿using GraphQL.Types;
using NetCore_GraphQL.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace NetCore_GraphQL.GraphType
{
    public class InputSysInfoType:InputObjectGraphType<SysInfo>
    {
        public InputSysInfoType()
        {
            Name = "inputSysInfoType";
            Description = "添加系统";
            Field(x => x.SysId).Description("系统ID");
            Field(x => x.SysName).Description("系统名称");
            Field(x => x.HostName).Description("主机名称");
        }
    }
}
